package tongpeifu.domain;

/**
 * Created by 4790K_NSL on 2017/4/7.
 */
public class Magpie extends  Bird {

    public Magpie(String name) {
        super(name);
    }

    public void sing(){
        System.out.println(getName() +
                " can not only eat,but sing");
    }
}
